<?php

require_once( 'Classes/FileHandler.php' );

function include_package( $sPackage, $bRecursive = false ) {

    $sPackageDirectory = FileHandler::MakeLocationString( 'Classes',  str_replace( '.', DIRECTORY_SEPARATOR, $sPackage ) );

    foreach( FileHandler::GetFileListingFromDirectoryInIncludePath( $sPackageDirectory, '/\.php$/', $bRecursive ) as $sPhpFile ) {
        include_once( $sPhpFile );   
    }
}

?>